<template>
	<div class="home">
		<!-- <scroller lock-x height="-53px"> -->
			<div>
				<br/><br/>
				<div class="tab-item" @click="back">返回</div>
				<br/><br/><br/><br/>
				<h1>home</h1>
				<br/><br/>
				<group>
		            <cell is-link title="Simple" link="/scene"></cell>
		            <cell is-link title="Switch icons" link="/scene/detail/123"></cell>
		        </group>
		        <group>
		            <cell is-link title="Simple" link="/shopping"></cell>
		            <cell is-link title="Switch icons" link="/scene/detail/456"></cell>
		        </group>
			</div>
				
		<!-- </scroller> -->
	</div>
</template>

<script>
	import { Tabbar, TabbarItem, Group, Cell, Loading, Scroller } from 'vux';
	export default {
	    components: {
            Group,
            Cell,
            TabbarItem,
            Tabbar,
            Loading,
            Scroller
        },
        methods: {
            back () {
                this.$router.goBack();
            }
        },
        created () {
            // window.api.post('index/enjoyScene/list', {}, function (data) {
            //     console.log(data);
            // });
        }
	};
</script>

<style>
	.home{
		background-color: #ddd!important;
	}
</style>
